package variabilitysmelldetection.plugin.models;

public class ComponentModel extends ItemModel {
	private boolean isRefinement;
	private boolean hasGodClass;
	private boolean hasShotgunSurgery;

	public ComponentModel(String name, ItemModel parent) {
		super(name, parent);
	}

	public void setRefinement(boolean isRefinement){
		this.isRefinement = isRefinement;
	}
	
	public boolean isRefinement(){
		return isRefinement;
	}

	public boolean hasGodClass() {
		return hasGodClass;
	}

	public void setHasGodClass(boolean hasGodClass) {
		this.hasGodClass = hasGodClass;
	}

	public boolean hasShotgunSurgery() {
		return hasShotgunSurgery;
	}

	public void setHasShotgunSurgery(boolean hasShotgunSurgery) {
		this.hasShotgunSurgery = hasShotgunSurgery;
	}
}
